<?php
namespace app\controller;

use app\BaseController;
use think\facade\Session;

class Logout extends BaseController
{
    public function index()
    {
        Session::clear();
        return $this->response( [ 'status' => 1, 'message' => 'ok' ] );
    }
}
